<template>
  <div id="app">

    <router-view/>
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o"><router-link to="/">home</router-link></van-tabbar-item>
      <van-tabbar-item icon="home-o"><router-link to="/echarts">Echarts</router-link></van-tabbar-item>
      <van-tabbar-item icon="search"><router-link to="/habitList">habitList</router-link></van-tabbar-item>
      <van-tabbar-item icon="friends-o"><router-link to="/habit">habit</router-link></van-tabbar-item>
      <van-tabbar-item icon="setting-o"  to="/picker">picker</van-tabbar-item>
    </van-tabbar>

  </div>
</template>

<script>

export default {
  name: 'App',
  data() {
    return {
      active: 0,
    };
  },
  methods: {

  },
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 0px;
}
.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  line-height: 150px;
  text-align: center;
  background-color: #39a9ed;
}


</style>
